<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css"
	href="../resources/admin/css/header.css">
<link rel="stylesheet" type="text/css"
	href="../resources/admin/css/criclemenu.css">
<link rel="stylesheet" type="text/css"
	href="../resources/admin/css/add-category.css">
<link rel="stylesheet" type="text/css"
	href="../resources/admin/css/category.css">
</head>
<body>
	<div style="margin-top: 50px;">Quản Lý Sản Phẩm</div>
	<div>
		<a href="addproduct.html" class="button">Thêm</a>
	</div>
	<form:form method="POST" action="saveAccount.html">
		<div class="CSSTableGenerator">
			<div>
				<form:label path="customerId">Mã : </form:label>
				<form:input path="customerId" value="${account.customerId}"
					readonly="true" style="margin-left: 300px" />
				<hr width="100%">
			</div>

			<div>
				<form:label path="firstName">Họ: </form:label>
				<form:input path="firstName" value="${account.firstName}"
					style="margin-left: 300px" />
				<hr width="100%">
			</div>

			<div>
				<form:label path="lastName">Tên: </form:label>
				<form:input path="lastName" value="${account.lastName}"
					style="margin-left: 290px" />
				<hr width="100%">
			</div>


			<div>
				<form:label path="address">Địa Chỉ: </form:label>
				<form:input path="address" value="${account.address}"
					style="margin-left: 260px" />
				<hr width="100%">
			</div>

					
			<div>
				<form:label path="phone">Điện Thoại: </form:label>
				<form:input path="phone" value="${account.phone}"
					style="margin-left: 230px" />
				<hr width="100%">
			</div>
			
					
			<div>
				<form:label path="minPurchase">Tối Thiểu </form:label>
				<form:input path="minPurchase" value="${account.minPurchase}"
					style="margin-left: 250px" />
				<hr width="100%">
			</div>
			
			<div>
				<form:label path="maxPurchase">Tối Đa: </form:label>
				<form:input path="maxPurchase" value="${account.maxPurchase}"
					style="margin-left: 260px" />
				<hr width="100%">
			</div>
			
			<div>
				<form:label path="email">Email: </form:label>
				<form:input path="email" value="${account.email}"
					style="margin-left: 260px" />
				<hr width="100%">
			</div>


		</div>

		<input type="submit" value="Lưu" class="button"
			style="margin-top: 30px; margin-left: 150px;" />
		<input type="hidden" name="${_csrf.parameterName}"
			value="${_csrf.token}" />
	</form:form>
</body>
